import java.util.ArrayList;

/**
 *
 */
public class ArraryListDemo1 {
    public static void main(String[] args) {
        //1.创建ArrayList的对象
        ArrayList list = new ArrayList();
        list.add("Russel");
        list.add("Bob");
        list.add(1,"loves");
        System.out.println(list);
    }
}
